using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 所属站点的OAuth登录表
    /// </summary>
    public class dt_site_oauth
    {
        /// <summary>
        /// 所属站点的OAuth登录表
        /// </summary>
        public dt_site_oauth()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 站点ID
        /// </summary>
        public System.Int32? site_id { get; set; }

        /// <summary>
        /// OAuth应用ID
        /// </summary>
        public System.Int32? oauth_id { get; set; }

        /// <summary>
        /// 自定义标签
        /// </summary>
        public System.String title { get; set; }

        /// <summary>
        /// AppId
        /// </summary>
        public System.String app_id { get; set; }

        /// <summary>
        /// AppKey
        /// </summary>
        public System.String app_key { get; set; }

        /// <summary>
        /// 排序数字
        /// </summary>
        public System.Int32? sort_id { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }

        [SugarColumn(IsIgnore = true)]
        public System.String ptitle { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String img_url { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String remark { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String api_path { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.Int32? is_lock { get; set; }
    }
}